package com.xuzili.wechat;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

/**
 * @author xu
 * @date:2022/8/2118:33
 */
@SpringBootApplication
@EnableScheduling // 开启定时任务
public class WechatApplication {
    public static void main(String[] args) {
        SpringApplication.run(WechatApplication.class,args);
    }

//    @Scheduled(cron = "0 30 7 * * ?")
//    public void goodMorning(){
//        Pusher.push();
//    }

}
